﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Web;
using ELGGAPI.Data;
using ELGGAPI.Models;

namespace ELGGAPI.Data
{
    public class ConELGG : DbContext
    {
        public DbSet<Provider> my_gameprovider { get; set; }
        //public DbSet<My_users_entity> My_users_entity { get; set; }
        public DbSet<Games> My_Games { get; set; }

        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            modelBuilder.Entity<Provider>().ToTable("my_gameprovider");
            //modelBuilder.Entity<My_users_entity>().ToTable("My_users_entity");
            modelBuilder.Entity<Games>().ToTable("my_game");

        }
    }

}